package com.javasoft.dao.ZSW;

import com.javasoft.entity.ZSW.GetMaxScoreEntity;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

@Mapper
public interface GetMaxScoreDao {
    //从名为 exam 的数据库表中检索 exam_id 的记录，并且返回记录
    @Select("SELECT * FROM exam WHERE exam_id = #{exam_id}")
    GetMaxScoreEntity findscore( @Param("exam_id") Integer exam_id);
}
